package com.cc.entity;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class Products {
    //商品 id
    private Integer productId;
    //商品名称
    private String productName;
    //类型编号
    private Integer typeId;
    //商品价格
    private BigDecimal price;
    //库存
    private Integer stock;
    //图片
    private String imageUrl;
    //状态
    private String status;
    //描述
    private String description;
    //创建时间
    private LocalDate createTime;
    //更新时间
    private LocalDate updateTime;
    //商品类型
    private ProductsType productsType;
}
